home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / basics / qtcreatemovie.win / readme.txt < prev    next >
Encoding:
Text File  |  2000-06-23  |  2.0 KB  |  50 lines

  1. README CreateMovie 
  2.  
  3.  
  4. 1. ABOUT CREATEMOVIE
  5. CreateMovie is a sample application that demonstrates how 
  6. to use the QuickTime APIs to create a very simple QuickTime 
  7. movie with both a video track and a sound track.
  8.  
  9. 2. SPECIFICS
  10. CreateMovie is based largely on the sample code included 
  11. in Inside Macintosh:QuickTime, starting with pg. 2-45. 
  12. The user is first asked to specify a location on disk to 
  13. create the new movie. A new movie is then created using 
  14. CreateMovieFile function. Next, video & sound tracks are 
  15. added with NewMovieTrack. Media for the sound & video tracks 
  16. are added with the NewTrackMedia, BeginMediaEdits, 
  17. EndMediaEdits sequence of calls. The video track media is 
  18. created by drawing a string and color background into an 
  19. offscreen GWorld. The sound track media is copied from a 
  20. standard macintosh 'snd ' resource included in the 
  21. application file. Because the code relies on the presence 
  22. of a 'snd ' resource in the application file, under 
  23. Windows 95/NT we must use the QuickTime 3.0 RezWack 
  24. utility to embed the 'snd ' resource into the application 
  25. file .
  26.  
  27. The code contains rather limited error checking. It's up 
  28. to you to add the appropriate error-handling routines.
  29.  
  30. 3. BUILDING CREATEMOVIE
  31. Macintosh  - Included is a Metrowerks project file. The 
  32. application will run on any system with QuickTime 2.5 or 
  33. better installed.
  34.  
  35. Windows 95/98/NT - Included is a Microsoft Visual C++ 4.2 
  36. makefile. The application will run on any system with 
  37. QuickTime 3.0 or better installed. Note - once the program 
  38. is built using the Microsoft Visual C++ 4.2 build environment, 
  39. we execute a script to embed the 'snd ' resource into the 
  40. application executable file (xxx.exe) using the QuickTime 
  41. 3.0 RezWack utility. 
  42.  
  43. 4. USING CREATEMOVIE
  44. Launch the application, and at the prompt, specify a location 
  45. to create the new movie file. A new movie file is created, 
  46. and the application quits. Open the movie with any Quicktime 
  47. movie-savvy application such as MoviePlayer.
  48.  
  49. Enjoy,
  50. QuickTime Team